﻿<!DOCTYPE html>
<html>
<head>
    <title>用户登录</title>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1" />
    <meta http-equiv="Content-Language" content="zh-CN" />
    @Url.Ayatta().StaticCss("bootstrap.min")
    @Url.Ayatta().StaticJs("jquery.min")
    @Url.Ayatta().StaticJs("jquery.extend")
    @Url.Ayatta().StaticJs("app.global")
    @Url.Ayatta().StaticJs("app.base")
    @Url.Ayatta().StaticJs("app.passport")
    <script type="text/javascript">
        document.domain = "ayatta.com";
    </script>
</head>
<body>
    <div class="row-fluid">
        <div class="span6">
            aaa
        </div>
        <div class="span6">
            @using (Html.BeginForm())
            {
                <div>
                    <div class="control-group">
                        <label class="control-label" for="username">
                            帐 号</label>
                        <div class="controls">
                            <input type="text" id="username" name="username" maxlength="30" placeholder="帐号/绑定邮箱/绑定手机" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="password">
                            密 码</label>
                        <div class="controls">
                            <input type="password" id="password" name="password" maxlength="12" placeholder="请输入您的密码" />
                        </div>
                    </div>
                    <div class="control-group">
                        <label class="control-label" for="captcha">
                            验证码</label>
                        <div class="controls">
                            <input type="text" id="captcha" name="captcha" class="input-mini" maxlength="4" placeholder="验证码"
                                autocomplete="off" data-rel="popover" data-trigger="hover" data-placement="left"
                                data-title="温馨提醒" data-content="请输入图片中的字符，不区分大小写。" />
                            <img id="login-captcha-img" class="captcha-img" src="/home/captcha" onclick="this.src='/home/captcha?'+Math.random();document.getElementById('captcha').value='';"
                                alt="点击刷新验证码" />
                            <span class="captcha-img-refresh" title="点击刷新验证码" onclick="document.getElementById('login-captcha-img').src='/home/captcha?'+Math.random();document.getElementById('captcha').value='';">
                                看不清<br />
                                换一张</span>
                        </div>
                    </div>
                    <div>
                        <button type="button" onclick="return login(this.form,window);">
                            登录</button></div>
                </div>
            }
        </div>
    </div>
</body>
</html>
